package com.guli.gulimall.product.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 6y
 * @ClassName SkuEsVo.java
 * @Description TODO
 * @createTime 2022-04-13 14:23:00
 */
@Data
public class SkuEsVo {

	private Long skuId;
	private Long spuId;
	private String skuTitle;
	private BigDecimal skuPrice;
	private String skuImg;
	private Long saleCount;
	private Boolean hasStock;
	private Long hotScore;
	private Long brandId;
	private Long catalogId;
	private String brandName;
	private String brandImg;
	private String catalogName;
	private List<SkuAttr> attrs;

	@Data
	public static class SkuAttr{
		private Long attrId;
		private String attrName;
		private String attrValue;
	}
}
